

 


using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Core;
using WcfService1.DTO;


namespace WcfService1
{
    // NOTE: You can use the "Rename" command on the "Refactor" JurnalPembelian to change the interface name "IJurnalPembelianServices" in both code and config file together.
    [ServiceContract]
    public interface IJurnalPembelianServices
    {
        [OperationContract]
        List<JurnalPembelianDTO> GetList(int page, out long recordCount, string sortProperty = null, string sortType = "ASC");

        [OperationContract]
        bool Save(JurnalPembelianDTO JurnalPembelian);

        [OperationContract]
        bool Delete(JurnalPembelianDTO JurnalPembelian);

        [OperationContract]
        List<JurnalPembelianDTO> GetListByCriteria(Dictionary<String, Object> criteria, string expression, int page,
                                      out long recordCount);

        [OperationContract]
        List<JurnalPembelianDTO> GetAllJurnalPembelian();

        [OperationContract]
        JurnalPembelianDTO GetJurnalPembelian(string kodeJurnalPembelian);

        [OperationContract]
        List<JurnalPembelianDTO> GetJurnalPembelianList(string kodeJurnalPembelian);

    }
}


